import React from 'react';
import type { MenuProps } from 'antd';
import { 
  AppstoreOutlined, 
  CloudServerOutlined, 
  TeamOutlined, 
  ContainerOutlined,
  MonitorOutlined,
  DatabaseOutlined
} from '@ant-design/icons';

type MenuItem = Required<MenuProps>['items'][number];

export const globalInfoMenu: MenuItem[] = [
  {
    key: '/global-info/product-management',
    icon: React.createElement(AppstoreOutlined),
    label: '产品目录管理',
    children: [
      {
        key: '/global-info/product-list',
        label: '产品目录列表'
      }
    ]
  },
  {
    key: '/global-info/asset-management',
    icon: React.createElement(DatabaseOutlined),
    label: '数据资源管理',
    children: [
      {
        key: '/global-info/resource-list',
        label: '数据资源列表'
      }
    ]
  },
  {
    key: '/global-info/identity-management',
    icon: React.createElement(TeamOutlined),
    label: '身份管理',
    children: [
      {
        key: '/global-info/connector-list',
        label: '连接器身份列表'
      },
      {
        key: '/global-info/user-list',
        label: '用户身份列表'
      }
    ]
  },
  {
    key: '/global-info/order-management',
    icon: React.createElement(ContainerOutlined),
    label: '交易订单管理',
    children: [
      {
        key: '/global-info/order-list',
        label: '交易订单列表'
      },
      {
        key: '/global-info/transaction-analysis',
        label: '数据交易统计分析'
      }
    ]
  }
  // ,
  // {
  //   key: '/global-info/monitoring-management',
  //   icon: React.createElement(MonitorOutlined),
  //   label: '统一流通利用监测管理',
  //   children: [
  //     {
  //       key: '/global-info/monitoring-list',
  //       label: '监测信息列表'
  //     }
  //   ]
  // }
]; 